package comgame.components;

import com.almasb.fxgl.entity.component.Component;

public class AttributeComponent extends Component
{
    private double Attack;
    private double Defense;
    private double CritRate;
    private double Speed;
    private double baseAttack;
    private double baseDefense;
    private double baseCritRate;
    private double baseSpeed;

    public double getAttack()
    {
        return Attack;
    }

    public void setAttack(double attack)
    {
        Attack = attack;
    }

    public double getDefense()
    {
        return Defense;
    }

    public void setDefense(double defense)
    {
        Defense = defense;
    }

    public double getCritRate()
    {
        return CritRate;
    }

    public void setCritRate(double critRate)
    {
        CritRate = critRate;
    }

    public double getSpeed()
    {
        return Speed;
    }

    public void setSpeed(double speed)
    {
        Speed = speed;
    }

    public double getBaseAttack() { return baseAttack; }
    public void setBaseAttack(double baseAttack) { this.baseAttack = baseAttack; }
    public double getBaseDefense() { return baseDefense; }
    public void setBaseDefense(double baseDefense) { this.baseDefense = baseDefense; }
    public double getBaseCritRate() { return baseCritRate; }
    public void setBaseCritRate(double baseCritRate) { this.baseCritRate = baseCritRate; }
    public double getBaseSpeed() { return baseSpeed; }
    public void setBaseSpeed(double baseSpeed) { this.baseSpeed = baseSpeed; }
}
